package com.woniuxy.user.model.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class AddUserForm {
    @ApiModelProperty("用户账号")
    @NotNull(message = "用户账号名不能为空")
    private  String userAccount;

    @ApiModelProperty("用户密码")
    @NotNull(message = "用户密码不能为空")
    private  String userPass;

    @ApiModelProperty("用户注册的手机号")
    @NotNull(message = "手机号不能为空")
    private  String userInfoTel;

    @ApiModelProperty("验证码")
    @NotNull(message = "验证码不能为空")
    private  String code;
}
